getExtensionFromFilename

Returns the extension, if any, on the given file name. Returns an empty string if there was no extension and null if the given filename was null.